INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
IF (USE_ITK_FILE)
  INCLUDE(${USE_ITK_FILE})
ENDIF (USE_ITK_FILE)

FIND_PACKAGE(FLTK REQUIRED)
IF(FLTK_FOUND)
   INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})
ENDIF(FLTK_FOUND)


INCLUDE_DIRECTORIES(
  ${FPTK_INCLUDE_DIRS}
)


SET(ITK_LIBRARIES
  ITKCommon
  ITKIO
  ITKNumerics
  ITKBasicFilters
  ITKAlgorithms
)


LINK_DIRECTORIES(
${FPTK_LIBRARY_DIR}
)

LINK_LIBRARIES(
  ${FLTK_LIBRARY}
  ${ITK_LIBRARIES}
  ${FPTK_LIBRARIES}
)